package com.example.demo.service;

import com.example.demo.pojo.PublicFields;
import com.example.demo.pojo.dto.InboundDTO;
import com.example.demo.pojo.dto.InventoryDTO;
import com.example.demo.pojo.entity.Inventory;
import com.example.demo.pojo.query.InventoryQuery;
import com.example.demo.pojo.vo.InventoryVO;
import com.example.demo.pojo.vo.PageVO;

import java.util.List;

public interface IInventoryService {
    void addStorage(InventoryDTO inventoryDTO, PublicFields publicFields);

    void deleteInventory(List<Long> ids);

    PageVO<InventoryVO> queryInventoryPage(InventoryQuery inventoryQuery);

    void updateInventory(InventoryDTO inventoryDTO, PublicFields publicFields);
    Inventory selectInventory(int componentId,int storageId);
}
